home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 65.zip
/
BS1 part 65
/
MWB DocDisk 27.adf
/
03
< prev
next >
Wrap
Text File
|
1992-02-28
|
5KB
|
106 lines
COMPressor V1.0 (C) 1991,1992
Written in C
All inquires, bug reports, or questions to:
GEnie E-Mail Address : S.Durgin
or by US-Snail:
Steve Durgin
121 Lake St.
Uhrichsville, OH 44683
Cause
~~~~~
This program was written due to the lack of a good sound file
compressor/decompressor for the Amiga. It was written using Lattice
C V5.01. This program is Shareware so that everyone can benefit from
it. All code and documentation remains under copyright by Steve Durgin.
Distribution
~~~~~~~~~~~~
This version of COMP is freely distributable for non-commercial use as
long as all files in the archive remain intact.
-----If you use this program and like it, any small contribution would be
appreciated (Send to above address). Currently I am enrolled in college
and money is a little tight. It took me quite a while to write this
and with every contribution, new features can be added. Thank you.
Enquiries for commercial use should also be sent to the same address.
Disclaimer
~~~~~~~~~~
I am in no way responsible for anything this program does or doesn't
do. You are using it entirely at your own risk (Although the program
has been tested out thoroughly).
What is COMP?
~~~~~~~~~~~~~
COMP is the only freely distributable compression/decompression program
available that crunches IFF sound files down to half the size with
little or no static . The program works with all uncompressed IFF
sound samples including sequences and stereo. The program does not
currently check to see if the file has been compressed already or not.
Be careful because a sound cannot be compressed twice. If you try to
decompress that file that you compressed twice, all it will contain is
garbage.
Do not confuse this program with the other form of sound compression
currently available. This program does a much better job than the
Fibonacci Delta Compression mainly because it improves on the Fibonacci
method. The way it is accomplished will not be discussed here.
This package includes the command line version of COMP along with a
modified version of 'SOUND' originally by Richard Lee Stockton. COMP
will both compress and decompress the IFF files and Sound will load the
sound file from disk to memory and decompress it in RAM and play it for
you. As of this version, Sound WILL play COMPressed files directly from
disk. It WILL NOT, however, play COMPressed stereo samples or sequences
as of this version. The only way to hear a COMPressed stereo sample or
sequence is to decompress it with COMP and then play it with PlaySound
or whatever you like.
SOUND4.LZH has been included in this archive since it includes the
documentation and source code for the original SOUND program.
SOUND can play IFF files directly from disk (even compressed!). The
maximum speed it can play compressed files depends on the speed of your
computer. I have an A3000 and can play compressed files up to
around 30 khz. I am not sure what the limit is on the unaccelerated
500's and 2000's. You will have to experiment.
Also, when playing samples directly from disk, SOUND may use quite a bit
of your CHIP memory. Just a forewarning.
To get a summary of COMP's commands just type 'COMP' alone on the
command line to get a list of commands.
Warning: Do not compress an IFF file from a disk drive to the same
disk drive. This is my first C program and right now I am only
using 512 byte buffers, so only the disk drive will do ALOT of
work to write out the file. It is alright to compress from one
disk drive to another disk drive or from any device to RAM. You
might also cause unnecessary wear and tear on your hard drive
if you compress from hard drive to the same hard drive. The best
way to do it is from hard drive to RAM (for limited RAM users) or
from RAM to hard drive(for the least amount of drive access).
If you encounter any major problems with the program, I would appreciate
it if you could leave me mail on GEnie to tell me what is going wrong.
Just remember that there are some limitations in this version and they
should be corrected by the time of the next release.
Also included in this archive is "Onlyamiga.comp" which is a sample
COMPressed file. To play it, simply type "sound Onlyamiga.comp"
I would have included the original to show that there is no difference,
but the archive would be too big. In the future, COMP will even tell
you how!)!gm qrgkcdia t{roq*ed"a`aria~ers kf(|jgap(adviltaeoq
Dwarved
dae`tgz"8*